package easycloud.ecs.provider.amazon.config;

import com.amazonaws.auth.AWSCredentials;

import easycloud.ecs.config.ProviderConfig;

public class AmazonS3Config implements AWSCredentials {

	private ProviderConfig config;

	public AmazonS3Config(ProviderConfig config) {
		this.config = config;
	}

	@Override
	public String getAWSAccessKeyId() {
		return config.getAccessKey();
	}

	@Override
	public String getAWSSecretKey() {
		return config.getSecretKey();
	}

	public ProviderConfig getConfig() {
		return config;
	}

}
